<template>
  <div class="recommend">
    <div class="item" v-for="(item,index) in childrecommends" :key="index">
        <a :href="item.link"></a>
        <img :src="item.image" alt="">
        <div>{{ item.title }}</div>
    </div>
  </div>
</template>

<script>
export default {
    name:'HomeRecommendView',
    props:{
        childrecommends:{
            default(){
                return []
            }
        }
    }
}
</script>

<style scoped>
   .recommend{
    display: flex;
    text-align: center;
    font-size: 12px;
    padding: 15px 0 30px;
   } 
   .recommend .item{
    flex: 1;
   }
   .recommend .item img{
    width: 65px;
    height: 65px;

   }

</style>